package kr.hkit.powerjava.chapter05;

import java.util.Scanner;

/*
 * 평을 평방미터로 환산 1평은 3.3058제곱미터
 */
public class Programming7 {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		final double meter = 3.3058;

		float pyeong;
		double squaremeter;

		System.out.print("평을 입력하시오: ");
		pyeong = input.nextFloat();

		squaremeter = meter * pyeong;

		System.out.println(pyeong + "평은 " + squaremeter + "제곱미터(m^2) 이다.");
	}
}
